Nested p2m: use a linked list for LRU np2m selection.
authorTim Deegan <Tim.Deegan@citrix.com>
Thu, 30 Jun 2011 09:26:54 +0000 (10:26 +0100)
committerTim Deegan <Tim.Deegan@citrix.com>
Thu, 30 Jun 2011 09:26:54 +0000 (10:26 +0100)
commitbaa496ade997e90025fe75be35f64f98614518b2
treeb86efab20dfb8fd3e61d816b4832a7620dbd6d8b
parent63898815b4203c606350dc41c4edeaf17e3bb8c5
Nested p2m: use a linked list for LRU np2m selection.

Because the flush-all-np2ms op doesn't take the np2m lock any more
we can't reorder the p2ms in the array that it will walk.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/p2m.c
xen/include/asm-x86/p2m.h